package com.quanyue.music.file.mapper;

import com.quanyue.music.domain.constant.JobEvent;
import com.quanyue.music.domain.entity.JobRecord;
import com.shzisg.mybatis.mapper.auto.AutoMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface JobRecordMapper extends AutoMapper<JobRecord> {

    JobRecord findByEvent(@Param("event") JobEvent event);
}
